package data;

import java.sql.Connection;
import java.util.List;
import logic.*;

public interface IUserDAO {
	List<User> selectAllUsers();
	User select(String idUser);
	User login(Connection conn, String nick, String pass);
	Boolean register(Connection conn, User user);
	Boolean banUser(Connection conn, User user);
	List<Product> getProductPreferences(Connection conn, User user);
	List<Integer> getRequests(Connection conn, User user);
	
	boolean isAdmin(User u);
	
	
	//Tirso's Methods
	String selectUserByUsername(String username);


}
